package com.chwn.curiousdiary.ui.main.contract;

import com.chwn.curiousdiary.bean.BannerBean;
import com.chwn.curiousdiary.bean.StoryListBean;
import com.chwn.curiousdiary.bean.StoryTypeBean;
import com.chwn.harulib.mvp.BasePresenter;
import com.chwn.harulib.mvp.BaseView;

import java.util.List;

/**
 * Created by Myshikin on 2017/3/20.
 */

public interface HomeContract {
    interface View extends BaseView {
        void showBannerList(List<BannerBean> bannerList);

        void showGuessLikeList(List<StoryListBean> storyList);

        void showStoryType(List<StoryTypeBean> storyTypeList);
    }

    abstract class Presenter extends BasePresenter<View> {

        public abstract void getBannerList();

        public abstract void getHomeList(int page);

        public abstract void getStoryType();
    }
}
